/**
 * Created by zhangwenlei on 2017/5/24.
 */
BCP.bill.modalRenderer.ListbasedataModalRenderer = function(){
    BCP.bill.modalRenderer.ListbasedataModalRenderer.superclass.constructor.call(this);
};

BCP.bill.modalRenderer.ListbasedataModalRenderer.ID = "bcpListbasedataModalRenderer";

COM.util.defineClass(BCP.bill.modalRenderer.ListbasedataModalRenderer, ADF.modalRenderer.BaseModalRenderer,{

    _getTitle:function(){
        return '基础数据设计';
    },
    _renderBody:function(parentDom,contentData){
        parentDom.innerHTML='<input class="form-control" type="text" value="'+contentData+'">';
    },
    _getContentData:function(parentDom){
        return $(parentDom).find("input").val();
    },
    getID:function(){
        return BCP.bill.modalRenderer.ListbasedataModalRenderer.ID;
    }
});